/**
 * Created by Zhang JiRen
 * @date 2022/7/25 0025
 */
import request from "@/utils/request";

const list = params => {
  return request({
    url: "/api/v1/recognize/activity/list",
    method: "get",
    data: params
  });
};

const detail = params => {
  return request({
    url: "/api/v1/recognize/activity/detail",
    method: "get",
    data: params
  });
};

const create = params => {
  return request({
    url: "/api/v1/recognize/activity/create",
    method: "post",
    data: params
  });
};

const enable = params => {
  return request({
    url: "/api/v1/recognize/activity/enable",
    method: "get",
    data: params
  });
};

const disable = params => {
  return request({
    url: "/api/v1/recognize/activity/disable",
    method: "get",
    data: params
  });
};

const _delete = params => {
  return request({
    url: "/api/v1/recognize/activity/delete",
    method: "get",
    data: params
  });
};
export default {
  list,
  detail,
  create,
  enable,
  disable,
  _delete
};
